import java.io.IOException;

import com.qq.open.common.json.JSONException;
import com.qq.open.weibo.WeiBoGetIdoList;
import com.qq.open.weibo.bean.param.WeiBoGetIdoListParamBean;
import com.qq.open.weibo.bean.result.WeiBoGetIdoListResultBean;


public class TestGetIdoList {

	/**
	 * @param args
	 * @throws JSONException 
	 * @throws IOException 
	 */
	public static void main(String[] args) throws JSONException, IOException {

		WeiBoGetIdoListParamBean paramBean = new WeiBoGetIdoListParamBean();
		
		paramBean.setAccessToken("138F0112CC9B350B8AE00899CB47D489");
		
		paramBean.setOpenId("2D78AAACEAF41021180BEAA2A47871B8");
		
		paramBean.setReqNum("30");
		
		paramBean.setStartIndex("0");
		
		WeiBoGetIdoList getIdoList = new WeiBoGetIdoList();
		
		WeiBoGetIdoListResultBean resultBean = getIdoList.getIdoList(paramBean);

		
		
		System.out.println(resultBean.getTimeStamp());
	}

}
